<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <body>
        <ui:composition>  
            <div>
            <h:form>
               
                        
                <c:choose>
                   
                    <c:when test="${page.getpage() =='TrangChu'}">
                        <ui:insert name="trangchu" >
                            <ui:include src="/template/common/ContentTrangChu.xhtml" />
                        </ui:insert>
                        
                    </c:when>
                    <c:when test="${page.getpage()=='NhaSanXuat'}">
                        <ui:insert name="ViewMobile" >
                            <ui:include src="/page/ViewMobile.xhtml" />
                        </ui:insert>
                       
                    </c:when>
                     <c:when test="${page.getpage()=='LoaiDienThoai'}">
                        <ui:insert name="ViewMobile" >
                            <ui:include src="/page/ViewMobile.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <c:when test="${page.getpage()=='DangKi'}">
                        <ui:insert name="registerpage" >
                            <ui:include src="/page/Register.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <c:when test="${page.getpage()=='UpdateInfo'}">
                        <ui:insert name="registerpage" >
                            <ui:include src="/page/UpdateInfo.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <c:when test="${page.getpage()=='GioHang'}">
                        <ui:insert name="giohangpage" >
                            <ui:include src="/page/GioHang.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                      <c:when test="${page.getpage()=='LichSuMuaHang'}">
                        <ui:insert name="LichSuMuaHangpage" >
                            <ui:include src="/page/LichSuMuaHang.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <c:when test="${page.getpage()=='ThanhToan'}">
                        <ui:insert name="LichSuMuaHangpage" >
                            <ui:include src="/page/ThanhToan.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                     <c:when test="${page.getpage()=='Paypal'}">
                        <ui:insert name="paypal" >
                            <ui:include src="/page/ThanhToanOnline.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                     <c:when test="${page.getpage()=='ungdungIphone'}">
                        <ui:insert name="iphone" >
                            <ui:include src="/page/download/ungdungIphone.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                       <c:when test="${page.getpage()=='ungdungNokia'}">
                        <ui:insert name="nokia" >
                            <ui:include src="/page/download/ungdungNokia.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                       <c:when test="${page.getpage()=='ungdungAndroid'}">
                        <ui:insert name="android" >
                            <ui:include src="/page/download/ungdungAndroid.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                       <c:when test="${page.getpage()=='ungdungSamsung'}">
                        <ui:insert name="samsung" >
                            <ui:include src="/page/download/ungdungSamsung.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                       <c:when test="${page.getpage()=='game'}">
                        <ui:insert name="samsung" >
                            <ui:include src="/page/download/game.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <!-- neu la trang khuyen mai -->
                    <c:when test="${page.getpage()=='KhuyenMai'}">
                        <ui:insert name="khuyenmai" >
                            <ui:include src="/template/common/ContentKhuyenMai.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <!-- neu la trang quang cao -->
                    <!-- neu la trang he thong sieu thi -->
                    <c:when test="${page.getpage()=='HeThongSieuThi'}">
                        <ui:insert name="sieuthi" >
                            <ui:include src="/template/common/ContentHeThongSieuThi.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <!-- neu la trang he thong sieu thi -->
                    <!-- neu la trang he chi tiet 1 dien thoai -->
                    <c:when test="${page.getpage()=='ChiTietDienThoai'}">
                        <ui:insert name="chitietdienthoai" >
                            <ui:include src="/template/common/ContentChiTietDienThoai.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <!-- neu la trang he thong sieu thi -->
                    <!-- neu la trang lien he -->
                    
                    <c:when test="${page.getpage()=='ChiTietDienThoai1'}">
                        <ui:insert name="chitietdienthoai1" >
                            <ui:include src="/template/common/ContentChiTietDienThoai1.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    
                    
                    <c:when test="${page.getpage()=='LienHe'}">
                        <ui:insert name="lienhe" >
                            <ui:include src="/template/common/ContentLienHe.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <!-- neu la trang lien he -->
                    <!-- neu la trang gioi thieu -->
                    <c:when test="${page.getpage()=='GioiThieu'}">
                        <ui:insert name="gioithieu" >
                            <ui:include src="/template/common/ContentGioiThieu.xhtml" />
                        </ui:insert>
                         
                    </c:when>
                    <!-- neu la trang gioi thieu -->
                    <!-- neu la trang tin tuc -->
                    <c:when test="${page.getpage()=='TinTuc'}">
                        <ui:insert name="tintuc" >
                            <ui:include src="/template/common/ContentTinTuc.xhtml" />
                        </ui:insert>
                         
                    </c:when>
  
                   
                </c:choose>
            </h:form>
            </div>
        </ui:composition>
    </body>

</html>
